<%@page import="servlet.AppttypeDropdown"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<!-- Declare the first header -->
<jsp:include page="t_header.jsp" />

<!-- Declare Breadcrumbs options -->
<div class="breadcrumbs_container">
	<article class="breadcrumbs">
		<a class="current">Print Setup</a>
	</article>
</div>

<!-- Declare sidebar -->
<jsp:include page="t_sidebar.jsp"/>

<!-- Main Content -->
<body>
	<section id="main" class="column">
		
		<% 
		if (request.getParameter("error") != null)
		{
			if(request.getParameter("error").equals("1"))
				out.print("<h4 class='alert_error'>Error - Your username / password was incorrect.</h4>");
			else if (request.getParameter("error").equals("2"))
				out.print("<h4 class='alert_info'>You have logged out successfully.</h4>");
		}%>
		
				
		<div class="clear"></div>
		
		<article class="module width_3_quarter">
		<form action="Print" method="POST">
			<header>
				<h3>Choose Appointment Type</h3>
			</header>
			<div class="module_content">
				<fieldset style="width: 100%; float: left; margin-right: 3%;">
					<!-- to make two field float next to one another, adjust values accordingly -->
					<label>Appointment Type</label> <select name="staff"
						style="width: 92%;">
						<%
							AppttypeDropdown rt = new AppttypeDropdown(out);
								rt.doGet(request, response);
						%>
					</select>
				</fieldset>
				<div class="clear"></div>
			</div>
			<footer>
				<div class="submit_link">
					<input type="submit" name="submit" value="Print Preview" class="alt_btn">
				</div>
			</footer>
		</form>
	</article>

		
		<div class="spacer"></div>
	</section>

<!-- Declare closing tags -->
<jsp:include page="t_footer.jsp"/>